package model;

/**
 * The EventVisitor interface provides handle methods for PriceChangedEvents and StructureChangedEvents.
 * Any different implementation of Event is not supported.
 * 
 * @author hfi411pi
 * 
 */
public interface EventVisitor {
	/**
	 * Handles the price changed event.
	 * @param priceChangedEvent is the event to handle.
	 */
	void handlePriceChangedEvent(PriceChangedEvent priceChangedEvent);
	/**
	 * Handles the structure changed event.
	 * @param structureChangedEvent is the event to handle.
	 */
	void handleStuctureChangedEvent(StructureChangedEvent structureChangedEvent);
}
